<?php
header('content-type:text/html;charset=utf-8');

//$hd = '0';
//if ($hd or 20>3) {
//    echo '成立';
//}else{
//    echo '不成立';
//}
//
//$x = '123';
//$y = &$x;
//$x = 456;
//echo $y;

$x = 123;
$y = 456;

function hd($x,$y){
//    $y = 999;
      global $x;
      echo $x;
}
hd(111,2);
hd($x,$y);
echo $x;
echo $y;



//function foo(){
////    静态变量
//    static $x = 1;
//    echo $x++;
//}
//foo();
//foo();
//foo();
//foo();
//foo();








